Select Item
AutomatR.Windows.Activities.SelectItem
The "Select Item" activity in AutomatR is designed for UI Automation within Windows applications. It enables the selection of an item from a combo box or list box, enhancing the capabilities of automation workflows.
Properties
Name | Description |
---|---|
Input | |
Element | Select the browse button to indicate the element on the app with the help of the Window selector window. |
Item | Enter the string text for the item value of the dropdown or listbox. |
Selector | Windows Selector - Editor for selecting UI elements within the Windows application. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before starting the "Select Item" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Timeout | Enter the time in seconds (e.g., 5) for the activity to be executed before throwing an exception. If not provided, the default timeout value is used. |
How to use:
- Drag and drop the "Select Item" activity onto the workflow.
- Configure the properties by providing either the Element or Selector, specifying the Item to be selected.
- Optionally, configure the Delay and Timeout properties.
- Execute the workflow to perform the item selection within the Windows application.
Example: Consider an example where the "Select Item" activity is used to choose the item "Option 2" from a combo box:
Select Item:
Element: [Selector indicating the combo box]
Item: "Option 2"
Delay: 2
Timeout: 10
In this example, the activity selects "Option 2" from the specified combo box element, introducing a 2-second delay and a timeout of 10 seconds for the operation.